package com.iwhalecloud.bss.kite.cucc.client.vo.scene;

import java.util.List;

import com.iwhalecloud.bss.kite.client.vo.scene.ModuleVO;
import com.iwhalecloud.bss.kite.manager.inst.KiteOfferInst;

import io.swagger.annotations.ApiModelProperty;

public class CuccOfferVO extends ModuleVO {

    /**
     * serialVersionUID <br>
     */
    private static final long serialVersionUID = 5550917121216567724L;

    private String isChoose;

    @ApiModelProperty("销售品ID")
    private String offerId;

    @ApiModelProperty("销售品名称")
    private String offerName;

    @ApiModelProperty("销售品分类")
    private String offerType;

    @ApiModelProperty("销售品系统分类")
    private String offerSysType;

    @ApiModelProperty("销售品描述")
    private String offerDesc;

    @ApiModelProperty("销售品实例")
    private List<KiteOfferInst> offerInst;

    @ApiModelProperty("产品实例id")
    private String accessProdInstId;

    @ApiModelProperty("是否不可选")
    private Boolean disabled;

    @ApiModelProperty("全程协议价ID")
    private String wholeQuickEntryId;

    @ApiModelProperty("资费类型")
    private String payType;
    /**
     * 5G专网月租费用时提示信息
     */
    private String promptMessage;

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }

    public String getIsChoose() {
        return isChoose;
    }

    public void setIsChoose(String isChoose) {
        this.isChoose = isChoose;
    }

    public String getOfferId() {
        return offerId;
    }

    public void setOfferId(String offerId) {
        this.offerId = offerId;
    }

    public String getOfferName() {
        return offerName;
    }

    public void setOfferName(String offerName) {
        this.offerName = offerName;
    }

    public String getOfferType() {
        return offerType;
    }

    public void setOfferType(String offerType) {
        this.offerType = offerType;
    }

    public String getOfferSysType() {
        return offerSysType;
    }

    public void setOfferSysType(String offerSysType) {
        this.offerSysType = offerSysType;
    }

    public String getOfferDesc() {
        return offerDesc;
    }

    public void setOfferDesc(String offerDesc) {
        this.offerDesc = offerDesc;
    }

    public List<KiteOfferInst> getOfferInst() {
        return offerInst;
    }

    public void setOfferInst(List<KiteOfferInst> offerInst) {
        this.offerInst = offerInst;
    }

    public String getAccessProdInstId() {
        return accessProdInstId;
    }

    public void setAccessProdInstId(String accessProdInstId) {
        this.accessProdInstId = accessProdInstId;
    }

    public String getWholeQuickEntryId() {
        return wholeQuickEntryId;
    }

    public void setWholeQuickEntryId(String wholeQuickEntryId) {
        this.wholeQuickEntryId = wholeQuickEntryId;
    }

  //重写equals用于list去重
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (obj.getClass() != this.getClass()) {
            return false;
        }
        CuccOfferVO u = (CuccOfferVO) obj;
        return offerId.equals(u.offerId);
    }
    public int hashCode() {
        String in = offerId;
        return in.hashCode();
   }

    public String getPromptMessage() {
        return promptMessage;
    }

    public void setPromptMessage(String promptMessage) {
        this.promptMessage = promptMessage;
    }
}
